package org.domain.acount.session;

import org.domain.acount.entity.*;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;
import java.util.Arrays;

@Name("usuarioHasPapelList")
public class UsuarioHasPapelList extends EntityQuery<UsuarioHasPapel> {

	private static final String EJBQL = "select usuarioHasPapel from UsuarioHasPapel usuarioHasPapel";

	private static final String[] RESTRICTIONS = {};

	private UsuarioHasPapel usuarioHasPapel;

	public UsuarioHasPapelList() {
		usuarioHasPapel = new UsuarioHasPapel();
		usuarioHasPapel.setId(new UsuarioHasPapelId());
		setEjbql(EJBQL);
		setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
		setMaxResults(25);
	}

	public UsuarioHasPapel getUsuarioHasPapel() {
		return usuarioHasPapel;
	}
}
